export default {
  state: {
    isShowFooter: true,
    // 默认回退到首页
    redirectUrl: '/homepage'
  },
  mutations: {
    setShowFooter(state, payload) {
      state.isShowFooter = payload
    },
    setRedirectUrl(state, payload) {
      state.redirectUrl = payload
    },
    setShowFooter(state, payload) {
      state.isShowFooter = payload
    },
    setActiveName(state, newName) {
      state.activeName = newName
    }
  }
}

